import request from '@/utils/request'
export function getList(params) {
  return request({
    url: '/course-web/courseGrade/.jsonp?page=1&limit=100',
    method: 'get',
    params
  })
}

export const delTableRow = (courseId) => {
  return request({
    url: `/course-web/courseGrade/deletebyid/${courseId}`,
    method: 'get',
  })
}

export function searchList(params, id){
		  return request({
		    url: `/course-web/courseGrade/findbyid/${id}`,
		    method: 'get',
		    params
		  })
		}